Alias /updates/static /usr/share/bodhi/static

WSGISocketPrefix run/wsgi
WSGIRestrictSignal Off

WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes={{wsgi_procs}} threads={{wsgi_threads}}
WSGIPythonOptimize 1

WSGIScriptAlias /updates /usr/share/bodhi/bodhi.wsgi/updates

# Hack, to work around some weirdness with python-tgmochikit & TG1
Alias /updates/tg_widgets/tgmochikit/packed/MochiKit/MochiKit.js /usr/lib/python2.6/site-packages/tgmochikit/static/javascript/1.4.2/packed/MochiKit/MochiKit.js

<Directory /usr/share/bodhi>
  WSGIProcessGroup bodhi
  SetEnvIf User-Agent Riddler GoAway=1
  Order allow,deny
  Allow from all
  Deny from env=GoAway
</Directory>
